/* 0.网站统一样式 */
html {
    font-size: 62.5%;
  }
  
  body {
    color: #000000;
  }
  
  /* 定义网站链接的默认风格 */
  a {
    text-decoration: none;
    color: #222222;
  }
  a:hover{
    color:red;
  }
  /* 图片依据容器等比例缩放 */
  img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }
  
  /* 对网站中需要的标签定义盒子统一属性 */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  ul,
  ol,
  p,
  figure {
    margin: 0;
    padding: 0;
  }
  
  /* 取消列表项的默认图标 */
  li {
    list-style-type: none;
  }
  
  /* 页面元素统一定义 */
  header,
  nav,
  main,
  footer {
    width:970px;
    margin:0 auto;
  }
/* 1.页面头部样式 */
header{
    height:193px;
}
/* 2.页面导航 */
nav{
    height: 35px;
    background-color: rgb(208, 232, 155);
}
nav>ul{
    width:100%;
    display: flex;
    justify-content: space-around;
    padding-top: 5px;
}
nav li{
    position: relative;
}
nav a{
    font-family: 宋体;
    font-size: 1.5rem;
    color: #000000;
}

nav li:not(:last-of-type)::after{
    content:"|";
    color:#666666;
    margin-left: 50px;
    position: absolute;
    top:0px;
}
/* 3.页面主体 */
main{
    display: flex;
    height: 757.2px;
}
/* 3.1左边图 */
.left_img{
    width: 45px;
    height: 757.2px;
}
/* 3.2医院相关查询和友情链接*/
.query_aside{
    width: 196px;
}
/* 医院相关查询部分 */
.query{
    display: flex;
    flex-direction: column;
}
.query>span{
    margin-left: 10px;
}
.query [type="submit"]{
    width:34.2px;
    height: 21.2px;
}
/* 外部链接 */
aside{
    display: flex;
    flex-direction: column;
}
aside>div{
    height: 250px;
    display: flex;
    justify-content: center;
}
aside ul{
    margin-top: 40px;
}
aside li{
    margin-bottom: 5px;
}
/* 3.3区域分隔条 */
.divide{
    width: 9px;
    background-color: rgb(204, 242, 143);
}
/*3.4 新闻列表*/
.news_list{
    width: 686px;
    display: flex;
    flex-direction: column;
}
.news_list header{
    width: 600px;
    height: 27px;
    margin-top: 20px;
    margin-left: 40px;
    background-image: url(../images/lanmu_r4_c5a.gif);
}
.news_list header span{
    line-height: 27px;
}
.news_list ul{
    width: 600px;
    margin: 10px auto;
}
.news_list ul li{
    color: #222222;
    margin: 8px 0px;
    display: flex;
}
.news_list ul a{
    margin-left: 2px;
    width: 510px;
    color: #222222;
    display: flex;
}
.news_list ul span{
    float: right;
    margin-right: 20px;
}
.news_list>div{
    display: flex;
    width: 593.2px;
    height: 23.6px;
    margin: -10px auto;
    justify-content: center;
}
.news_list>div>span{
    font-family: 宋体;
    margin-right: 25px;
    padding-top: 2px;
}
.a1{
    font-size: 12px;
    font-family: 宋体;
    display: inline-block;
    height: 14px;
    padding: 2px 4px;
    background: #fff;
    color: #ccc;
    border: solid 1px #AFD5F5;
    line-height: 14px;
    margin-right: 3px;
}
.a2{
    font-size: 12px;
    font-family: 宋体;
    display: inline-block;
    height: 14px;
    padding: 2px 4px;
    background: #fff;
    color: #000000;
    border: solid 1px #AFD5F5;
    line-height: 14px;
}
.a3{
    font-size: 12px;
    font-family: 宋体;
    display: inline-block;
    height: 14px;
    padding: 2px 4px;
    color: #000000;
    border: solid 1px #AFD5F5;
    line-height: 14px;
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#BDDBF7));
    margin-left: 20px;
}
.a4{
    height: 14px;
    padding: 1px 10px;
    background: #fff;
    color: #000000;
    border: solid 1px #AFD5F5;
}
/* 3.5右边图 */
.right_img{
    width: 34px;
    height: 757.2px;
}
/* 4.页面底部 */
footer{
    height: 136px;
    display: flex;
    flex-direction: column;
    background-image: url(../images/index2_59.gif);
}
footer address{
    margin-top: 15px;
    margin-left: 450px;
    font-style: normal;
    font-weight:600;
}
footer p{
    margin-left:520px;
    margin-top: 10px;
    font-weight:600;
}
